<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    <span th:if="${param.logout}">
        您已退出登录
    </span>
</div>
<p>自定义登录页面</p>
<form th:action="@{/login}" method="post">
    用户名: <input type="text" name="username"><br>
    密&nbsp;码: <input type="password" name="password"><br>
    <input type="submit" value="登录">
</form>
</body>
</html>